<div class="list">
	<h1>ブロガー</h1>

	<table>
		<thead>
			<tr>
				<th>名前</th>
				<th class="edit"></th>
				<th class="delete"></th>
			</tr>
		</thead>
		<tbody>
		<?php foreach ($bloggers as $blogger): ?>
			<tr>
				<td><?php echo $blogger->getName() ?>
				</td>
				<td class="edit"><a
					href="<?php echo url_for("blogger/edit?id=".$blogger->getId())?>"><img></img></a>
				</td>
				<td class="delete"><?php echo link_to('<img></img>', 'blogger/delete?id='.$blogger->getId(), array('method' => 'delete', 'confirm' => 'Are you sure?'))?>
				</td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>

</div>
<div class="new">
	<h1>ブロガーの登録</h1>

	<?php include_partial('form', array('form' => $form)) ?>

</div>
